package com.maiworld.seller.service;

import java.util.List;
import java.util.Map;

import com.maiworld.api.dto.StudentDTO;
import com.maiworld.api.vo.ResultVO;
import com.maiworld.pojo.TbStudent;

import entity.PageResult;

public interface StudentService {
	
	public List<TbStudent> findAll();
	
	public PageResult findPage(int pageNum, int pageSize);
	
	public void add(TbStudent student);
	
	public void update(TbStudent student);
	
	public TbStudent findOne(Long sid);
	
	public void delete (Long [] sids);
	
	public PageResult findPageStudent(TbStudent student ,int pageNum ,int pageSize);
	
	public ResultVO<StudentDTO> findOne(String openid);
	
	public Map<String, Object> addStudentUrl(Map<String,String> params);
	
	public Map<String, Object> findOneSid(Long sid);
	
	public Map<String, Object> updateStudent(Map<String,String> params);
	
	public Map<String, Object> login(String openid,String nickname, String head_pic);
	
	//学员选择驾校自己的分校
	public Map<String, Object> updateStatus(Long sid, String openid, String status);
	
	public Map<String, Object> updatOrderNews(Long order_id);
}
